projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4774d9c
)
Move G_END_DECLS before the #endif in gtkitemfactory.h
author
Christian Dywan
<christian@twotoasts.de>
Sat, 4 Apr 2009 11:32:09 +0000
(13:32 +0200)
committer
Christian Dywan
<christian@twotoasts.de>
Sat, 4 Apr 2009 11:40:12 +0000
(13:40 +0200)
Bug 577650 – gtkitemfactory.h fails to compile
Place G_END_DECLS inside conditionals, otherwise C++ compilers
will see a closing curly bracket when including the file for
the second time.
gtk/gtkitemfactory.h
patch
|
blob
|
history
diff --git
a/gtk/gtkitemfactory.h
b/gtk/gtkitemfactory.h
index 0e71f4886adb0c88e961b50ee10783448decd518..5c57b8032e4cb4d09c425d3c9505d93ce951e81c 100644
(file)
--- a/
gtk/gtkitemfactory.h
+++ b/
gtk/gtkitemfactory.h
@@
-228,10
+228,9
@@
void gtk_item_factory_create_menu_entries (guint n_entries,
void gtk_item_factories_path_delete (const gchar *ifactory_path,
const gchar *path);
-#endif /* !GTK_DISABLE_DEPRECATED */
-
-
G_END_DECLS
+#endif /* !GTK_DISABLE_DEPRECATED */
+
#endif /* __GTK_ITEM_FACTORY_H__ */